package com.yuanqunsoft.alimigration.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * RuleSet entity. @author MyEclipse Persistence Tools
 */

public class RuleSet implements java.io.Serializable {

    // Fields

    private Integer rusId;
    private AllUser allUser;
    private String rusName;
    private String rusDescription;
    private Integer rusVersion;
    private Short rusReleaseStatus;
    private Short rusPublic;
    private Timestamp rusCreateTime;
    private Set reportWithRulesets = new HashSet(0);
    private Set rulesetWithRules = new HashSet(0);

    // Constructors

    /** default constructor */
    public RuleSet() {
    }

    /** minimal constructor */
    public RuleSet(AllUser allUser, String rusName, String rusDescription, Integer rusVersion,
            Short rusReleaseStatus, Short rusPublic, Timestamp rusCreateTime) {
        this.allUser = allUser;
        this.rusName = rusName;
        this.rusDescription = rusDescription;
        this.rusVersion = rusVersion;
        this.rusReleaseStatus = rusReleaseStatus;
        this.rusPublic = rusPublic;
        this.rusCreateTime = rusCreateTime;
    }

    /** full constructor */
    public RuleSet(AllUser allUser, String rusName, String rusDescription, Integer rusVersion,
            Short rusReleaseStatus, Short rusPublic, Timestamp rusCreateTime, Set reportWithRulesets,
            Set rulesetWithRules) {
        this.allUser = allUser;
        this.rusName = rusName;
        this.rusDescription = rusDescription;
        this.rusVersion = rusVersion;
        this.rusReleaseStatus = rusReleaseStatus;
        this.rusPublic = rusPublic;
        this.rusCreateTime = rusCreateTime;
        this.reportWithRulesets = reportWithRulesets;
        this.rulesetWithRules = rulesetWithRules;
    }

    // Property accessors

    public Integer getRusId() {
        return this.rusId;
    }

    public void setRusId(Integer rusId) {
        this.rusId = rusId;
    }

    public AllUser getAllUser() {
        return this.allUser;
    }

    public void setAllUser(AllUser allUser) {
        this.allUser = allUser;
    }

    public String getRusName() {
        return this.rusName;
    }

    public void setRusName(String rusName) {
        this.rusName = rusName;
    }

    public String getRusDescription() {
        return this.rusDescription;
    }

    public void setRusDescription(String rusDescription) {
        this.rusDescription = rusDescription;
    }

    public Integer getRusVersion() {
        return this.rusVersion;
    }

    public void setRusVersion(Integer rusVersion) {
        this.rusVersion = rusVersion;
    }

    public Short getRusReleaseStatus() {
        return this.rusReleaseStatus;
    }

    public void setRusReleaseStatus(Short rusReleaseStatus) {
        this.rusReleaseStatus = rusReleaseStatus;
    }

    public Short getRusPublic() {
        return this.rusPublic;
    }

    public void setRusPublic(Short rusPublic) {
        this.rusPublic = rusPublic;
    }

    public Timestamp getRusCreateTime() {
        return this.rusCreateTime;
    }

    public void setRusCreateTime(Timestamp rusCreateTime) {
        this.rusCreateTime = rusCreateTime;
    }

    public Set getReportWithRulesets() {
        return this.reportWithRulesets;
    }

    public void setReportWithRulesets(Set reportWithRulesets) {
        this.reportWithRulesets = reportWithRulesets;
    }

    public Set getRulesetWithRules() {
        return this.rulesetWithRules;
    }

    public void setRulesetWithRules(Set rulesetWithRules) {
        this.rulesetWithRules = rulesetWithRules;
    }

}